<load href="../Public/js/plugin/jquery.img.big.show/css/common"/>
<load href="../Public/js/plugin/jquery.img.big.show/js/jquery.imagePreview.1.0"/>

<load href="../Public/js/module/Ad/ad.js" />

<div id="div_agents_manager_personnel_dialog"><div id="div_agents_manager_personnel_tree"></div></div>

<div class="sendTitleDiv marginleft10">
    广告中心
</div>
<div class="margintop20 floatRightDiv marginright80">
    <form action="__URL__/adAdd"  method="post">
        <div class="floatLeftDiv marginleft50">
            <input type="submit" value="添加" class="buttonStyle" />
        </div>
    </form>
</div>
<div class="tableInfoDiv margintop10">
    <table id="table_agents_manager">
        <tr>
            <td>
                名称
            </td>
            <td>
                位置
            </td>
            <td>
                功能
            </td>
        </tr>
        <volist name="list" id="ad">
            <tr>
                <td>
                    <a class="preview" href="{$ad.img_url }">{$ad.name }</a>
                </td>
                <td>
                    <switch name="ad.location" >
            <case value="index">首页</case>
            <case value="content">内容</case>
            <case value="content_bottom">内容底部</case>
            <case value="index_logo">首页Logo</case>
            <case value="content_logo">内容Logo</case>
            <case value="top">排行榜</case>
            <case value="scroll1">滚动图片1</case>
            <case value="scroll2">滚动图片2</case>
            <case value="scroll3">滚动图片3</case>
            <default  />默认情况
            </switch>
            </td>
            <td>
                <a href="#" ad_id="{$ad.id }" class="c_ad_delete">删除</a>
            </td>
            </tr>
        </volist>
    </table>
</div>
<div class="clear"></div>
<div id="div_news_page_list" class="margintop10">
    <div class="sabrosus">
        {$show }
    </div>
</div>
<form id="frm_news_manager_hidden" action="__URL__/newsDelete/id/" method="post"></form>